﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MenuMVC.Models
{
    public class WechatMenu
    {
        /// <summary>
        /// 菜单Id
        /// </summary>
        public long MenuId { get; set; }
        /// <summary>
        /// 上级菜单Id
        /// </summary>
        public long ParentId { get; set; }
        /// <summary>
        /// 公众号Id
        /// </summary>
        public long SystemConfigId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 菜单key
        /// </summary>
        public string MenuKey { get; set; }
        /// <summary>
        /// 菜单类型：0、上级菜单，1、自定义菜单，2、预设菜单，3、发送图文消息，4、发送带权限链接的图文消息
        /// </summary>
        public int MenuType { get; set; }
        /// <summary>
        /// 菜单链接
        /// </summary>
        public string MenuUrl { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Orderby { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 消息编号
        /// </summary>
        public long MessageId { get; set; }
        /// <summary>
        /// 是否需要用户授权
        /// </summary>
        public bool Authorization { get; set; } = false;
        /// <summary>
        /// 是否开放给用户修改
        /// </summary>
        public bool IsOpen { get; set; }
    }
}